<?php
    class Main_Controller_Lang extends Main_Controller_Action
    {
        public function preDispatch()
        {
            $front = Zend_Controller_Front::getInstance();
            $config = new Zend_Config_Ini(APPLICATION_PATH . '/configs/routers.ini', 'setting');
            $router = new Zend_Controller_Router_Rewrite();          
            $router = $router->addConfig($config, 'routes');
            $front->setRouter($router);
            return $front;
        }
    }
